home *** CD-ROM | disk | FTP | other *** search
- -- background: 2602 from stack: in
- -- bmap block id: 4249
- -- flags: 0000
- -- background id: 0
- -- name:
- ----- HyperTalk script -----
- on closecard
- put line 1 of field "Member Info" into name
- set name of this card to name
- end closecard
-
- on opencard
- show menubar
- end opencard
-
- on newcard
- set cursor to 4
- set lockscreen to true
- -- Member button
- domenu "New Button"
- set name of button "New Button" to "Member"
- set rect of button "Member" to 52,209,132,223
- set style of button "Member" to checkbox
- set autohilite of button "Member" to true
- set script of button "Member" to script of bkgnd button "Member Script"
- -- Member Field
- domenu "New Field"
- set name of card field 1 to "Member"
- set rect of card field "Member" to 73,227,160,261
- set textfont of card field "Member" to Chicago
- set textalign of card field "Member" to right
- -- Member2 Field
- domenu "New Field"
- set name of card field 2 to "Member2"
- set rect of card field "Member2" to 165,243,264,261
- set textfont of card field "Member2" to New York
- set showlines of card field "Member2" to true
- -- Touch ups
- put "Membership" & return & "paid on" into card field "Member"
- set locktext of card field "Member" to true
- hide card field "Member"
- hide card field "Member2"
- set lockscreen to false
- tabkey
- end newcard
-
-
-
- -- part 16 (field)
- -- low flags: 00
- -- high flags: 4000
- -- rect: left=287 top=110 right=209 bottom=485
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 2
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Member Info
- ----- HyperTalk script -----
- on closefield
- if line 2 of bkgnd field "Member Info" is empty
- then answer "Be creative! Choose an alias."
- end closefield
-
-
-
- -- part 17 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=288 top=35 right=61 bottom=322
- -- title width / last selected line: 0
- -- icon id / first selected line: 19381 / 19381
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- get the number of this card
- if it = 1 then exit mouseup
- put line 1 of field "Member Info" into name
- if visible of card field "Member2" = true and card field "Member2" is empty then
- answer "Is" && word 1 of field "Member Info" && "an executive?" with "Yes" or "No"
- If it = "No" then
- answer "Then, please put in the date of his payment."
- exit mouseup
- else
- set cursor to 4
- set lockscreen to true
- put "Exec" into card field "Member2"
- if field "YesNo" = "Yes"
- then go to card name of stack "Surf2"
- else click at 231,309
- click at 60,75
- go to card name of stack "Surfboard"
- set lockscren to false
- end if
- end if
- visual effect wipe right
- go to previous card
- end mouseUp
-
-
-
- -- part 18 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=328 top=35 right=61 bottom=362
- -- title width / last selected line: 0
- -- icon id / first selected line: 22308 / 22308
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- get the number of this card
- if it = the number of cards then exit mouseup
- put line 1 of field "Member Info" into name
- if visible of card field "Member2" = true and card field "Member2" is empty then
- answer "Is" && word 1 of field "Member Info" && "an executive?" with "Yes" or "No"
- If it = "No" then
- answer "Then, please put in the date of his payment."
- exit mouseup
- else
- set cursor to 4
- set lockscreen to true
- put "Exec" into card field "Member2"
- if field "YesNo" = "Yes"
- then go to card name of stack "Surf2"
- else click at 231,309
- wait 4 seconds
- click at 60,75
- go to card name of stack "Surfboard"
- set lockscreen to false
- end if
- end if
- visual effect wipe left
- go to next card
- end mouseUp
-
-
-
- -- part 19 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=449 top=35 right=61 bottom=483
- -- title width / last selected line: 0
- -- icon id / first selected line: 14953 / 14953
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- visual effect iris close
- pop card
- end mouseUp
-
-
-
- -- part 20 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=449 top=67 right=93 bottom=483
- -- title width / last selected line: 0
- -- icon id / first selected line: 21700 / 21700
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Home
- ----- HyperTalk script -----
- on mouseUp
- visual effect iris close
- go home
- end mouseUp
-
-
-
-
- -- part 21 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=21 top=298 right=320 bottom=94
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Find
- ----- HyperTalk script -----
- on mouseUp
- domenu "Find..."
- end mouseUp
-
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=108 top=298 right=320 bottom=181
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Sort
- ----- HyperTalk script -----
- on mouseUp
- answer "Sort by:" with "First" or "Last" or "Zip"
- if it = "First"
- then sort by word 1 of field "Member Info"
- else if it = "Last"
- then sort by last word of line 1 of field "Member Info"
- else sort by last word of line 4 of field "Member Info"
- end mouseUp
-
-
-
- -- part 23 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=195 top=298 right=320 bottom=268
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Info
- ----- HyperTalk script -----
- on mouseUp
- visual effect iris close
- set cursor to 4
- set lockscreen to true
- put line 1 of field "Member Info" into name
- get field "YesNo"
- if it = "Yes"
- then go to card Name of stack "Surf2"
- else
- put "Yes" into field "YesNo"
- go to last card of stack "Surf2"
- domenu "New Card"
- set name of this card to Name
- put name into field 1
- set lockscreen to false
- choose browse tool
- end if
- end mouseup
-
-
-
-
- -- part 24 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=284 top=298 right=320 bottom=373
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: New Card
- ----- HyperTalk script -----
- on mouseUp
- domenu "New Card"
- put "No" into field "YesNo"
- tabkey
- end mouseUp
-
-
-
- -- part 25 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=387 top=298 right=320 bottom=482
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Delete Card
- ----- HyperTalk script -----
- on mouseUp
- put line 1 of field "Member Info" into name
- if field "YesNo" = "Yes" then
- set cursor to 4
- set lockscreen to true
- put "." into card field "Member2"
- go to card name of stack "Surf2"
- domenu "Delete Card"
- go to card name of stack "Surfboard"
- end if
- domenu "Delete Card"
- end mouseUp
-
-
-
- -- part 26 (button)
- -- low flags: 80
- -- high flags: 8003
- -- rect: left=378 top=271 right=293 bottom=484
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Member Script
- ----- HyperTalk script -----
- on mouseup
- set visible of card field "Member" to not the visible of card field "Member"
- set visible of card field "Member2" to not the visible of card field "Member2"
- end mouseup
-
-
-
- -- part 27 (field)
- -- low flags: 80
- -- high flags: 0004
- -- rect: left=170 top=35 right=51 bottom=219
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: YesNo
-
-
- -- part 28 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=386 top=62 right=101 bottom=428
- -- title width / last selected line: 0
- -- icon id / first selected line: 23078 / 23078
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Help
- ----- HyperTalk script -----
- on mouseUp
- push card
- visual iris close
- answer "Which help would you like?" with "General" or "This Stack"
- if it = "General" then go to Help
- else go to last card of SurfHelp
- end mouseUp
-